LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
C_PERIPHERY_SRC := src/cperiphery/src/gpio.c \
				   src/cperiphery/src/i2c.c \
				   src/cperiphery/src/pwm.c
C_PERIPHERY_INC := $(LOCAL_PATH)/src/cperiphery/src/

LOCAL_C_INCLUDES := $(C_PERIPHERY_INC) \
					$(LOCAL_PATH)/include/

LOCAL_SRC_FILES := $(C_PERIPHERY_SRC) \
					src/battery.c \
					src/pico.c \
					src/main.c

LOCAL_SHARED_LIBRARIES := libuv libcutils
LOCAL_MODULE := pico
include $(BUILD_EXECUTABLE)
